<template>
<div>
局部组件
<h1>123222=={{ ss }}</h1>
 </div>
</template>
<script>
import bus from '@/js/bus';
export default {
    props:['ss'],
data(){
return{
    ccc:20,
}
},
created(){
    this.ck()
   
},

computed:{
},
methods:{
    ck(){
        console.log(1);
        this.$emit('shu',this.ccc)
        bus.$emit('sc'.this.ccc)
    }
   
},
}
</script>
<style scoped>
</style>
